import request from '@/utils/request'
let baseUrl = process.env.NODE_ENV === 'production' ? 'api/report' : '/report'
export const list = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/statistics/analysis/list',
    method: 'post',
    data
  })
export const create = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/statistics/analysis/create',
    method: 'post',
    data
  })
export const update = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/statistics/analysis/update',
    method: 'post',
    data
  })
